extends layout

block content
	title= "Formalistics"
	script(src="/javascripts/settings.js")
	script(src="/javascripts/jquery.timeago.js")
	script(src="/javascripts/jquery.mousewheel.js")
	script(src="/javascripts/jquery.jscrollpane.min.js")
	
	include user_registration	
		
	form(method="POST", name="frmForm")
		div(style="display:none")
			input(type="text", name="formName", id="formName", value="")
			input(type="text", name="requestID", id="requestID", value="")
			input(type="text", name="content", id="content", value="")
			input(type="submit", id="cmdSubmit", value="Submit")
		
		include rightnav
		
		div(class="confirmUpdateStatus",id="dialog-confirm",title="",style="display:none")
			p
				span(class="ui-icon ui-icon-alert",style="float: left; margin: 0 7px 20px 0;")
				span(class="warningUpdateOrgChart")
		
		div(id="divwfSettings", title="Workflow Settings", style="display:none")
			table(width="100%",cellpadding=8)
				tr
					td(colspan="2")
						h2(style="display:inline")
							img(src="/images/ui/workflow.png",style="vertical-align:middle;border:0px")&nbsp;
							&nbsp; Workflow Settings
				tr
					td
						label Please select Form:
					td
						select(class="processorType", id="comForms", style="width:260px;font-size:12px;outline:none")
							option(value = 0) --Select--
				tr
					td
						label Type:
					td
						input(type="radio", value="Sequential", name="wfType") 
						label Sequential
						input(type="radio", value="Conditional", name="wfType") 
						label Conditional
				tr
					td
						label &nbsp;
					td(align="right")
						a(class="bluebutton", href="#", id="cmdCreateWF") Create
			
		div(id="droppable",title="",style="width:950px;height:100%;")
			table(width="100%")
				tr
					td(valign="top",width="200px", style="border-right: 1px Solid #ccc;background-color:#f4f4f4")
						table(width="100%")
							tr
								td(align="center")
									img(src="/images/1.jpg", class="pic", style="vertical-align: middle;") 
									h4( style="display: inline;") &nbsp;&nbsp;&nbsp;&nbsp;Stephen Curry
							tr
								td(style="")
									div(style="margin-top:10px")
										h4( style="display: inline;") Settings
										hr
										div(style="width:100%;height:auto;white-space:nowrap;", id="divTables")
											div(class="forms", onclick="getUsers()")
												a(style="text-decoration:none;color:#444")
													img(src="/images/ui/user.png",style="vertical-align:middle") 
													label &nbsp; Users
											br
											div(class="forms",onclick="getOrgchartList()")
												a(style="text-decoration:none;color:#444")
													img(src="/images/ui/users.png",style="vertical-align:middle") 
													label &nbsp; Organizational Chart
											br
											div(class="forms", onclick="getForms()")
												a(href="#",style="text-decoration:none;color:#444")
													img(src="/images/Posts.png",style="vertical-align:middle") 
													label &nbsp; Forms
											br
											div(class="forms",onclick="getWorkflows()")
												a(style="text-decoration:none;color:#444")
													img(src="/images/ui/workflow.png",style="vertical-align:middle") 
													label &nbsp; Workflows
											br
											div(class="forms")
												a(style="text-decoration:none;color:#444")
													img(src="/images/ui/reports.png",style="vertical-align:middle") 
													label &nbsp; Reports
											br
										
											
					td(valign="top")
						div(id="divView", style="margin:10px;width:100%;min-height:800px;height:auto;background-color:#fafafa")
							
						
				
		
		